package com.tn.controller.alarm.common.constants;

/**
 * @ClassName RpmConstants
 * @Description TODO
 * @Author Yezhongzhu
 * @Date 2021/12/27 13:43
 * @Version v1.0
 **/
public class RpmConstants {
    /**
     * 入闸
     */
    public static final int FANCE_IN = 0;
    /**
     * 出闸
     */
    public static final int FANCE_OUT = 1;
    /**
     * 定位服务方法类型
     */
    public enum RMPTYPE{

        INRADIUSCHECK("InRadiusCheck"),//检测标签与特定标签的实时距离
        TOFDISCHECK("TofDisCheck"),// 检测标签与特定标签的实时距离（TOF）
        STATICFENCECHECK("StaticFenceCheck"),//检测标签进出静态围栏
        FRONTENDDISPLAY("FrontendDisplay"),//点位检测
        AREALIST("AreaList"),//同步摄像头区域信息
        AREATRACEFETCH("AreaTraceFetch"),//货车经过摄像头区域信息查询
        TRACEFETCH("TraceFetch");//查询标签历史点位

        private String type;

        RMPTYPE(String type) {
            this.type = type;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }

    public enum RMPACTIONTYPE{

        CREATE("create"),
        UPDATE("update"),
        DELETE("delete");

        private String type;

        RMPACTIONTYPE(String type) {
            this.type = type;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
